﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LL.Data.Mapping
{
    public interface IMapper
    {
        /// <summary>
        /// 表名
        /// </summary>
        /// <returns></returns>
        string GetTableName();

        /// <summary>
        /// 主键列名
        /// </summary>
        /// <returns></returns>
        string[] GetPrimaryKeyNames();
        
        /// <summary>
        /// 获取忽略的属性
        /// </summary>
        /// <returns></returns>
        string[] GetIgnoreColumnNames();

        /// <summary>
        /// 获取有效列名
        /// </summary>
        /// <returns></returns>
        string[] GetColumnsNames();


        string[] GetAutoIncrementColumnNames();

    }
}
